package animal;

/*
 * 测试类
 */

public class Test {
	public static void main(String[] args) {
		Animal animal;

		// 鸟
		animal = new Bird();
		animal.info();
		
		System.out.println();

		// 鱼
		animal = new Fish();
		animal.info();

	}

}
